/*
 * This file is part of the Boring Engine API.
 *
 * Copyright (c) 2011 by pf5234 <pf5234@users.sourceforge.net>.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

package com.googlecode.boringengine;

/**
 * Configuration class, use only if your setting is not in GameSettings.
 * @author pf5234
 */
public class Config {

    /**
     * Gets the boolean setting associated with <i>key</i>.
     * @param key the name for the setting to query
     * @param def the default to return if not found
     * @return the boolean associated with <i>key</i> or <i>def</i> if not found
     */
    public static boolean getBoolean(String key, boolean def) { return false; }

    /**
     * Gets the string setting associated with <i>key</i>.
     * @param key the name for the setting to query
     * @param def the default to return if not found
     * @return the string associated with <i>key</i> or <i>def</i> if not found
     */
    public static String getString(String key, String def) { return null; }

    /**
     * Sets a boolean setting to <i>key</i>.
     * @param key the name for the setting to query
     * @param val the value to set
     */
    public static void set(String key, boolean val) {}

    /**
     * Sets a string setting to <i>key</i>.
     * @param key the name for the setting to query
     * @param val the value to set
     */
    public static void set(String key, String val) {}

    private Config() {}
}
